Skip to content

Conversation

@alison-mk
Copy link
Contributor

@alison-mk alison-mk commented Sep 18, 2020

Please fill in this template.

  • Use a meaningful title for the pull request. Include the name of the package modified.
  • Test the change in your own code. (Compile and run.)
  • Add or edit tests to reflect the change. (Run with npm test YOUR_PACKAGE_NAME.)
  • Follow the advice from the readme.
  • Avoid common mistakes.
  • Run npm run lint package-name (or tsc if no tslint.json is present).

If changing an existing definition:

  • Provide a URL to documentation or source code which provides context for the suggested changes: <>
  • If this PR brings the type definitions up to date with a new version of the JS library, update the version number in the header.
  • Include tests for your changes
  • If you are making substantial changes, consider adding a tslint.json containing { "extends": "dtslint/dt.json" }. If for reason the any rule need to be disabled, disable it for that line using // tslint:disable-next-line [ruleName] and not for whole package so that the need for disabling can be reviewed.

@typescript-bot typescript-bot added The CI failed When GH Actions fails Author is Owner The author of this PR is a listed owner of the package. Untested Change This PR does not touch tests labels Sep 18, 2020
@typescript-bot
Copy link
Contributor

typescript-bot commented Sep 18, 2020

@alison-mk Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through.

This is a live comment which I will keep updated.

This PR doesn't modify any tests, so it's hard to know what's being fixed, and your changes might regress in the future. Have you considered adding tests to cover the change you're making? Including tests allows this PR to be merged by yourself and the owners of this module. This can potentially save days of time for you.

1 package in this PR

Code Reviews

This PR can be merged once it's reviewed by a DT maintainer.

Status

  • ✅ No merge conflicts
  • ❌ Continuous integration tests have passed
  • ❌ Only a DT maintainer can approve changes without tests

Once every item on this list is checked, I'll ask you for permission to merge and publish the changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 47749,
  "author": "alison-mk",
  "owners": [
    "OfficeDev",
    "akrantz",
    "mscharlock",
    "davidchesnut",
    "alison-mk"
  ],
  "dangerLevel": "ScopedAndUntested",
  "headCommitAbbrOid": "0c2efe4",
  "headCommitOid": "0c2efe4d0d6672b5ff8d77299df9cfa6ee2d9ee2",
  "mergeIsRequested": false,
  "stalenessInDays": 0,
  "lastPushDate": "2020-09-18T01:05:15.000Z",
  "reopenedDate": "2020-09-18T16:33:19.000Z",
  "lastCommentDate": "2020-09-18T02:33:31.000Z",
  "maintainerBlessed": false,
  "reviewLink": "https://github.com/DefinitelyTyped/DefinitelyTyped/pull/47749/files",
  "hasMergeConflict": false,
  "authorIsOwner": true,
  "isFirstContribution": true,
  "popularityLevel": "Well-liked by everyone",
  "newPackages": [],
  "packages": [
    "custom-functions-runtime"
  ],
  "files": [
    {
      "path": "types/custom-functions-runtime/index.d.ts",
      "kind": "definition",
      "package": "custom-functions-runtime"
    }
  ],
  "hasDismissedReview": false,
  "ciResult": "fail",
  "ciUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped/commit/0c2efe4d0d6672b5ff8d77299df9cfa6ee2d9ee2/checks?check_suite_id=1209766048",
  "lastReviewDate": "2020-09-18T18:02:15.000Z",
  "reviewersWithStaleReviews": [],
  "approvalFlags": 2,
  "isChangesRequested": false
}

@typescript-bot
Copy link
Contributor

🔔 @OfficeDev @akrantz @mscharlock @davidchesnut — please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

@typescript-bot
Copy link
Contributor

@alison-mk The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@alison-mk
Copy link
Contributor Author

@ElizabethSamuel-MSFT Any idea what's wrong?

@jablko
Copy link
Contributor

jablko commented Sep 18, 2020

@alison-mk The CI failure fell in the window between releasing @definitelytyped/definitions-parser v0.0.54, which includes microsoft/DefinitelyTyped-tools#93, and landing #44091, which I've just marked ready for review.

The DefinitelyTyped-tools change enables it to find files that previously required exceptions, and #44091 removes those exceptions. The changes are interdependent: Regardless of which lands first, there's a window of CI failure. Apologies!

@typescript-bot
Copy link
Contributor

👋 Hi there! I’ve run some quick measurements against master and your PR. These metrics should help the humans reviewing this PR gauge whether it might negatively affect compile times or editor responsiveness for users who install these typings.

Let’s review the numbers, shall we?

Comparison details 📊
master #47749 diff
Batch compilation
Memory usage (MiB) 76.9 77.1 +0.2%
Type count 9303 9303 0%
Assignability cache size 2984 2984 0%
Language service
Samples taken 127 127 0%
Identifiers in tests 127 127 0%
getCompletionsAtPosition
    Mean duration (ms) 421.1 429.1 +1.9%
    Mean CV 10.8% 10.2%
    Worst duration (ms) 502.1 509.1 +1.4%
    Worst identifier ticker updateFrequency
getQuickInfoAtPosition
    Mean duration (ms) 416.3 422.2 +1.4%
    Mean CV 10.9% 10.0% -8.7%
    Worst duration (ms) 531.9 484.0 -9.0%
    Worst identifier CustomFunctions CustomFunctions

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

@typescript-bot typescript-bot added the Perf: Same typescript-bot determined that this PR will not significantly impact compilation performance. label Sep 18, 2020
Copy link
Contributor

@davidchesnut davidchesnut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good!

@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label Sep 18, 2020
@ElizabethSamuel-MSFT ElizabethSamuel-MSFT merged commit 256275e into DefinitelyTyped:master Sep 18, 2020
@typescript-bot
Copy link
Contributor

I just published @types/custom-functions-runtime@1.3.0 to npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author is Owner The author of this PR is a listed owner of the package. Owner Approved A listed owner of this package signed off on the pull request. Perf: Same typescript-bot determined that this PR will not significantly impact compilation performance. The CI failed When GH Actions fails Untested Change This PR does not touch tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants